package ibms_rcp.model;

/**
 * 公司资料
 * @author diamond-wang
 *
 */
public class Company {
	/*id*/
	private long id;
	/*公司编号*/
	private String code;
	/*公司名称*/
	private String name;
	/*联系人*/
	private String per;
	/*电话*/
	private String tel;
	/*座机*/
	private String phone;
	/*提醒阈值天数*/
	private int remindDay;
	/*预存款*/
	private double balance;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPer() {
		return per;
	}
	public void setPer(String per) {
		this.per = per;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public int getRemindDay() {
		return remindDay;
	}
	public void setRemindDay(int remindDay) {
		this.remindDay = remindDay;
	}
	public double getBalance() {
		return balance;
	}
	public void setBalance(double balance) {
		this.balance = balance;
	}
	
	@Override
	public String toString() {
		String message = "Company Instance:";
		message+=" id="+id;
		message+=", 公司编号="+code;
		message+=", 公司名称="+name;
		message+=", 联系人="+per;
		message+=", 电话="+tel;
		message+=", 座机="+phone;
		message+=", 预存款="+balance;
		message+=", 提醒阈值天数="+remindDay;
		return message;
	}
	
}
